package com.qf.ssm.service;

import com.github.pagehelper.Page;
import com.github.pagehelper.PageInfo;
import com.qf.ssm.pojo.User;

import java.util.List;

public interface UserService {

    void addUser(User user);

    User findUserById(Long id);

   PageInfo<User>findUserByPage(int pageNum,int pageSize);
}
